package com.example.withroadlogistics.model;

public class TEnter {
    private int enterId;
    private String userId;
    private String enTime;
    private String enAddress;
    private String enContent;
    private String carId;
    private String taskId;
    private String enRemark;

    public static String USERID = "userId";
    public static String TASKID = "taskId";
    public static String ENADDRESS = "enAddress";
    public static String ENCONTENT = "enContent";

    public int getEnterId() {
        return enterId;
    }

    public void setEnterId(int enterId) {
        this.enterId = enterId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getEnTime() {
        return enTime;
    }

    public void setEnTime(String enTime) {
        this.enTime = enTime;
    }

    public String getEnAddress() {
        return enAddress;
    }

    public void setEnAddress(String enAddress) {
        this.enAddress = enAddress;
    }

    public String getEnContent() {
        return enContent;
    }

    public void setEnContent(String enContent) {
        this.enContent = enContent;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getEnRemark() {
        return enRemark;
    }

    public void setEnRemark(String enRemark) {
        this.enRemark = enRemark;
    }

    public static String getUSERID() {
        return USERID;
    }

    public static void setUSERID(String USERID) {
        TEnter.USERID = USERID;
    }

    public static String getENADDRESS() {
        return ENADDRESS;
    }

    public static void setENADDRESS(String ENADDRESS) {
        TEnter.ENADDRESS = ENADDRESS;
    }

    public static String getENCONTENT() {
        return ENCONTENT;
    }

    public static void setENCONTENT(String ENCONTENT) {
        TEnter.ENCONTENT = ENCONTENT;
    }

    public TEnter(int enterId, String userId, String enTime, String enAddress, String enContent, String carId, String taskId, String enRemark) {
        this.enterId = enterId;
        this.userId = userId;
        this.enTime = enTime;
        this.enAddress = enAddress;
        this.enContent = enContent;
        this.carId = carId;
        this.taskId = taskId;
        this.enRemark = enRemark;
    }

    @Override
    public String toString() {
        return "TEnter{" +
                "enterId=" + enterId +
                ", userId='" + userId + '\'' +
                ", enTime='" + enTime + '\'' +
                ", enAddress='" + enAddress + '\'' +
                ", enContent='" + enContent + '\'' +
                ", carId='" + carId + '\'' +
                ", taskId='" + taskId + '\'' +
                ", enRemark='" + enRemark + '\'' +
                '}';
    }
}
